package com.freshcity.manager.support
{
	import flash.geom.Point;

	public class MaskInfo
	{
		public static const Shape_Rect:int=1;
		public static const Shape_Cycle:int=2;
		public var shape:int=1;
		public var x:int;
		public var y:int;
		public var width:int;
		public var height:int;
		
		public function MaskInfo(position:Point=null,size:Point=null)
		{
			if(position&&size){
				this.x = position.x;
				this.y = position.y;
				
				this.width = size.x;
				this.height = size.y;
			}
		}
		
		public function set globalPoint(arg1:Point):void
		{
			this.x = arg1.x;
			this.y = arg1.y;
		}
	}
}